/**
 * @format
 * @Author: TC
 * @Date: 2025-04-20 00:32:48
 * @Last Modified by: TC
 * @Last Modified time: 2025-05-05 02:01:08
 */

import { IUIConfig } from "../Module/UI/UIInterface";
import { EUILayer } from "./ComponentConst";
import { EFrameBundleConst } from "./FrameBundleConst";

export enum EFrameUIConst {
    //提示
    TipUI = "TipUI",
    //测试界面
    TestUI = "TestUI",
    //全屏测试界面
    TestFullUI = "TestFullUI",
    //全屏测试界面2
    TestFullUI2 = "TestFullUI2",
}

export const FrameUIConfig: { [key: string]: IUIConfig } = {
    //测试界面
    [EFrameUIConst.TestUI]: {
        bundleName: EFrameBundleConst.Test,
        prefabPath: "TestUI",
    },
    //全屏测试界面
    [EFrameUIConst.TestFullUI]: {
        bundleName: EFrameBundleConst.Test,
        prefabPath: "TestFullUI",
        fullScreen: true,
    },
    //全屏测试界面2
    [EFrameUIConst.TestFullUI2]: {
        bundleName: EFrameBundleConst.Test,
        prefabPath: "TestFullUI2",
        fullScreen: true,
    },
    //提示界面
    [EFrameUIConst.TipUI]: {
        bundleName: EFrameBundleConst.Common,
        prefabPath: "Prefab/Common/TipUI",
        noShowLoading: true,
        noHasMask: true,
        noBlankClose: true,
        noOpenAni: true,
        layer: EUILayer.TIP,
        canOpenMore: true,
        // autoDestroy: true,
    },
};
